<%@ page import="net.sf.json.JSONObject" %><%--
  Created by IntelliJ IDEA.
  User: LENOVO
  Date: 2021-10-16
  Time: 13:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no"/>
    <title>厦门医学院通勤车管理系统</title>
    <link rel="stylesheet" type="text/css" href="css/basic.css"/>
    <script type="text/javascript" src="js/jquery-1.11.1.js"></script>
    <script type="text/javascript" src="js/jquery.params.js"></script>
    <script type="text/javascript" src="js/rootPath.js"></script>
    <script type="text/javascript" src="js/coordTransform.js"></script>
<%--    <script type="text/javascript" src="js/isLogin.js"></script>--%>
    <script type="text/javascript"
            src="http://api.map.baidu.com/api?v=2.0&ak=egEvcrdvoxPAv64b4FWl7V867zzmPTxZ"></script>
    <%--mmDQiPrFl2ErVwWPK1zhkWBK9HR9y6Ub--%>

<%--网站监测--%>
    <script>
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?cbd38f63690f8d32e04de6e64eb7517c";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>

</head>

<body>

<%
    /*
    Cookie cookie = null;
    Cookie[] cookies = null;
    cookies = request.getCookies();
    if(cookies != null){
//        out.println("<h1>登录成功</h1>");
        int flag = 0;
        for(int i=0; i<cookies.length; i++){
            cookie = cookies[i];
            out.println("<h1>cookie</h1>");
            if(cookie.getName() == "userId"){
                String userId = cookie.getValue();
                flag = 1;
            }
        }
        if(flag == 0){
//            response.sendRedirect("/qywxLogin");
            out.println("<script>function login() {window.location = root_path+'/qywxLogin';}</script>");
            out.println("<script>login()</script>");
        }
    }
    else{
        out.println("<script>function login() {window.location = root_path+'/qywxLogin';}</script>");
        out.println("<script>login()</script>");
    }
     */

    /*

    if (request.getAttribute("userId") != null) {
//        out.println("<h4>登录成功</h4>");
    }else if(request.getAttribute("openId") != null) {
//        out.println("<h4>非企业内部人员登录</h4>");
        out.println("<script>function jump() {window.location = root_path+'/jumpToOtherUsers';}</script>");
        out.println("<script>jump()</script>");
    }else{
        out.println("<script>function login() {window.location = root_path+'/qywxLogin';}</script>");
        out.println("<script>login()</script>");
    }

     */
%>

<div id="allmap"></div>
<div id="backToTop" class="backToTop">
    <%--    <a href="#" id="backToTop" class="backToTop">--%>

    <%--    </a>--%>
    <div id="lineChange">
        <ui>
            <li><p id="line1" class="line line_chu">出岛1</p></li>
            <li><p class="split_code split_chu">/</p></li>
            <li><p id="line2" class="line line_chu">出岛2</p></li>
            <li><p class="split_code split_chu">/</p></li>
            <li><p id="line3" class="line line_chu">出岛3</p></li>
            <li><p class="split_code split_chu">/</p></li>
            <li><p id="line4" class="line line_chu">出岛4</p></li>
            <li><p class="split_code split_chu split_chu4">/</p></li>
            <li><p id="line5" class="line  line_jin">进岛1</p></li>
            <li><p class="split_code  split_jin">/</p></li>
            <li><p id="line6" class="line line_jin">进岛2</p></li>
            <li><p class="split_code  split_jin">/</p></li>
            <li><p id="line7" class="line line_jin">进岛3</p></li>
            <li><p class="split_code split_jin">/</p></li>
            <li><p id="line8" class="line line_jin">进岛4 </p></li>

            <li><p id="allLinePage"  onclick="allLinePage()">&nbsp;&nbsp;所有路线详情 </p></li>
        </ui>

    </div>
    <%--    <div class="break_white"></div>--%>

    <div class="break_white"></div>
    <div class="break_gray"></div>
    <div id="time_menu">
        <p id="sites_left">离终点~站 / </p>
        <p id="time_left">预计~分钟</p>
    </div>
    <div id="line_detail">

        <div class="package-status">
            <div class="status-box">
                <ul id="lineInfo" class="status-list">
                </ul>
            </div>
        </div>
        <%--        <div id="lineInfo"></div>--%>
    </div>
</div>
</body>
<script type="text/javascript" src="js/getMap.js"></script>
<script src="js/toSite.js"></script>
<script src="js/touch.js"></script>
<script src="js/getClosestSite.js"></script>
<script src="js/carLocation.js"></script>
<script src="js/getLine.js"></script>
<script src="js/init.js"></script>
<script src="js/weather.js"></script>
<script src="js/predictLeftTime.js"></script>
<script>
    function allLinePage() {
        window.location = root_path+"/allLine.jsp";
    }
</script>
</html>



